/*
 * terrainFoot.h
 *
 *  Created on: 5 mai 2010
 *      Author: raph
 */

#ifndef TERRAINFOOT_H_
#define TERRAINFOOT_H_

void init();
void firstCapture(CvCapture* capture);
void mouseCallback(int event, int x, int y, int flags, void* param);
void calibrageTerrain();
double distance(CvPoint p1, CvPoint p2);
CvSeq* findCircles(IplImage *capture);
void drawDistance(IplImage *& img, double d);
void findHomographyPerso(CvPoint * pts_ecran, CvMat* matHomography);
void initMatriceTerrainReel(CvMat *& matPointsTerrainReel);

#endif /* TERRAINFOOT_H_ */
